package com.example.testrxjava.util;

/**
 * 项目名称：TestRxjava
 *
 * @Author 郭迎辉
 * Create by 13:36 on 2019/4/17.
 * Describe:
 */
public class ConTract {
    public final static String base_url="https://wanandroid.com/";



    //文章详细的url的key
    public final static String KEY_ARTICLE_URL="article_url";
    public final static String KEY_ARTICLE_TITLE="article_title";
    public final static String KEY_ARTICLE_ID ="article_id";
    public final static String KEY_ARTICLE_COLLECT ="article_collect";
    public final static String KEY_ARTICLE_COLLECT_HIDE="article_collect_hide";


    //二级体系key
    public final static String KEY_SYSTEM_FIRST_NAME="system_first_name";
    public final static String KEY_SYSTEM_SECOND_NAME_LIST="system_second_name_list";
    public final static String KEY_SYSTEM_SECOND_ID_LIST="system_second_id_list";

    //BaseLoadingState
    public static final int NORMAL_STATE = 0;
    public static final int LOADING_STATE = 1;
    public static final int ERROR_STATE = 2;

    //回调
    public static final int REQUEST_ARTICLE_ACTIVITY=0;
    public static final int REQUEST_COLLECTION_ACTIVITY=1;



    public static final String SP_NAME = "androidOne";

}
